package com.example.demo.vo.bug;

import com.example.demo.po.bug.Bug;
import lombok.Data;

@Data
public class BugVO {
    private int bid;
    private String description;
    private String procedure;
    private int deviceInfo;
    public BugVO(){}
    public BugVO(Bug bug){
        this.description= bug.getDescription();
        this.procedure= bug.getProcedure();
        this.deviceInfo= bug.getDeviceInfo();
    }
    public BugVO(BugInfoVO bugInfoVO){
        this.description= bugInfoVO.getDescription();
        this.procedure= bugInfoVO.getProcedure();
        this.deviceInfo= bugInfoVO.getDeviceInfo();
    }
}
